package com.rerun.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.rerun.entity.CollectionJob;
import com.rerun.entity.vo.JobDetailVo;

/**
 * The interface Collection job service.
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /10/26 9:32
 */
public interface ICollectionJobService extends IService<CollectionJob> {
    /**
     * 通过职位id查询 收藏信息.
     *
     * @param jobId    the job id
     * @param memberId the member id
     * @return the collection job
     */
    CollectionJob selectByJobId(String jobId,String memberId);

    /**
     * Find page by member id page.
     *
     * @param page     the page
     * @param memberId the member id
     * @return the page
     */
    Page<JobDetailVo> findPageByMemberId(Page<JobDetailVo> page, String memberId);
}
